

package jetbrains.buildServer.server.rest.model.project;

import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import jetbrains.buildServer.server.rest.model.user.PermissionAssignment;
import jetbrains.buildServer.server.rest.swagger.annotations.ModelDescription;

/**
 * @author Vladimir Shefer
 * @date 21.11.2022
 */
@XmlRootElement(name = "sshKeys")
@XmlType(name = "sshKeys")
@ModelDescription(
  value = "Represents ssh key list.",
  externalArticleLink = "https://www.jetbrains.com/help/teamcity/ssh-keys-management.html#Uploading+SSH+Key+to+TeamCity+Server",
  externalArticleName = "Uploading SSH Key to TeamCity Server"
)
public class SshKeys {
  private List<SshKey> mySshKeys;

  @XmlElement(name = "sshKey")
  public List<SshKey> getSshKeys() {
    return mySshKeys;
  }

  public void setSshKeys(List<SshKey> sshKeys) {
    mySshKeys = sshKeys;
  }
}